import request from "@/api/request.js"
function addPreOrder(data){
	return request({
		url:`/lejuClient/order/addPreOrder`,
		method:"post",
		data
	})
}
function getPreOrderById(id){
	return request({
		url:`/lejuClient/order/getPreOrderById/${id}`,
		method:"get",
	})
}
function addConfirmOrder(data){
	return request({
		url:`/lejuClient/order/addConfirmOrder`,
		method:"post",
		data
	})
}
function payConfirm(data){
	return request({
		url:`/lejuClient/order/payConfirm`,
		method:"post",
		data
	})
}
export{addPreOrder,getPreOrderById,addConfirmOrder,payConfirm}